/**
 * 系统项目名称
 * com.duk.model
 * HouQin.java
 * 
 *  2017年1月9日-下午3:33:09
 *  2017SUN公司-版权所有
 *
 */
package com.duk.model;

import java.util.Date;

/** 
* @author  by: kasher
* @date 创建时间：2017年1月9日 下午3:33:09 
* @version 1.0 * @parameter  
* @since  
* @return  
*/
/**
 *
 * HouQin by:kasher 2017年1月9日 下午3:33:09 我乃压身第一人
 * 
 * @version 1.0.0
 *
 */
public class HouQin
{
	// hqId,hqName,hqPhone,hqAge,hqSex,joinTime,
	// outTime,modifyTime,createTime,crID,deptID,digest
	private Integer hqId;
	private String hqName;
	private String hqPhone;
	private Integer hqAge;
	private Integer hqSex;
	private Date joinTime;
	private Date outTime;
	private Date modifyTime;
	private Date createTime;
	private Integer crID;
	private Integer deptID;
	private String digest;

	/**
	 * 创建一个新的实例 HouQin.
	 *
	 */
	public HouQin()
	{
	}

	public Integer getHqId()
	{
		return hqId;
	}

	public void setHqId(Integer hqId)
	{
		this.hqId = hqId;
	}

	public String getHqName()
	{
		return hqName;
	}

	public void setHqName(String hqName)
	{
		this.hqName = hqName;
	}

	public String getHqPhone()
	{
		return hqPhone;
	}

	public void setHqPhone(String hqPhone)
	{
		this.hqPhone = hqPhone;
	}

	public Integer getHqAge()
	{
		return hqAge;
	}

	public void setHqAge(Integer hqAge)
	{
		this.hqAge = hqAge;
	}

	public Integer getHqSex()
	{
		return hqSex;
	}

	public void setHqSex(Integer hqSex)
	{
		this.hqSex = hqSex;
	}

	public Date getJoinTime()
	{
		return joinTime;
	}

	public void setJoinTime(Date joinTime)
	{
		this.joinTime = joinTime;
	}

	public Date getOutTime()
	{
		return outTime;
	}

	public void setOutTime(Date outTime)
	{
		this.outTime = outTime;
	}

	public Date getModifyTime()
	{
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime)
	{
		this.modifyTime = modifyTime;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Integer getCrID()
	{
		return crID;
	}

	public void setCrID(Integer crID)
	{
		this.crID = crID;
	}

	public Integer getDeptID()
	{
		return deptID;
	}

	public void setDeptID(Integer deptID)
	{
		this.deptID = deptID;
	}

	public String getDigest()
	{
		return digest;
	}

	public void setDigest(String digest)
	{
		this.digest = digest;
	}

	@Override
	public int hashCode()
	{
		final int prime = 31;
		int result = 1;
		result = prime * result + ((crID == null) ? 0 : crID.hashCode());
		result = prime * result + ((createTime == null) ? 0 : createTime.hashCode());
		result = prime * result + ((deptID == null) ? 0 : deptID.hashCode());
		result = prime * result + ((digest == null) ? 0 : digest.hashCode());
		result = prime * result + ((hqAge == null) ? 0 : hqAge.hashCode());
		result = prime * result + ((hqId == null) ? 0 : hqId.hashCode());
		result = prime * result + ((hqName == null) ? 0 : hqName.hashCode());
		result = prime * result + ((hqPhone == null) ? 0 : hqPhone.hashCode());
		result = prime * result + ((hqSex == null) ? 0 : hqSex.hashCode());
		result = prime * result + ((joinTime == null) ? 0 : joinTime.hashCode());
		result = prime * result + ((modifyTime == null) ? 0 : modifyTime.hashCode());
		result = prime * result + ((outTime == null) ? 0 : outTime.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj)
	{
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		HouQin other = (HouQin) obj;
		if (crID == null)
		{
			if (other.crID != null)
				return false;
		} else if (!crID.equals(other.crID))
			return false;
		if (createTime == null)
		{
			if (other.createTime != null)
				return false;
		} else if (!createTime.equals(other.createTime))
			return false;
		if (deptID == null)
		{
			if (other.deptID != null)
				return false;
		} else if (!deptID.equals(other.deptID))
			return false;
		if (digest == null)
		{
			if (other.digest != null)
				return false;
		} else if (!digest.equals(other.digest))
			return false;
		if (hqAge == null)
		{
			if (other.hqAge != null)
				return false;
		} else if (!hqAge.equals(other.hqAge))
			return false;
		if (hqId == null)
		{
			if (other.hqId != null)
				return false;
		} else if (!hqId.equals(other.hqId))
			return false;
		if (hqName == null)
		{
			if (other.hqName != null)
				return false;
		} else if (!hqName.equals(other.hqName))
			return false;
		if (hqPhone == null)
		{
			if (other.hqPhone != null)
				return false;
		} else if (!hqPhone.equals(other.hqPhone))
			return false;
		if (hqSex == null)
		{
			if (other.hqSex != null)
				return false;
		} else if (!hqSex.equals(other.hqSex))
			return false;
		if (joinTime == null)
		{
			if (other.joinTime != null)
				return false;
		} else if (!joinTime.equals(other.joinTime))
			return false;
		if (modifyTime == null)
		{
			if (other.modifyTime != null)
				return false;
		} else if (!modifyTime.equals(other.modifyTime))
			return false;
		if (outTime == null)
		{
			if (other.outTime != null)
				return false;
		} else if (!outTime.equals(other.outTime))
			return false;
		return true;
	}

	@Override
	public String toString()
	{
		return "HouQin [hqId=" + hqId + ", hqName=" + hqName + ", hqPhone=" + hqPhone + ", hqAge=" + hqAge + ", hqSex="
				+ hqSex + ", joinTime=" + joinTime + ", outTime=" + outTime + ", modifyTime=" + modifyTime
				+ ", createTime=" + createTime + ", crID=" + crID + ", deptID=" + deptID + ", digest=" + digest + "]";
	}

}
